package com.huawei.Galenus.service.impl;

import com.huawei.Galenus.dao.SingerRepository;
import com.huawei.Galenus.domain.Singer;
import com.huawei.Galenus.service.SingerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("SingerService")
public class SingerServiceImpl implements SingerService {

    @Autowired
    private SingerRepository singerRepository;

    @Override
    public int save(Singer singer) {
        return singerRepository.save(singer);
    }
}
